package cn.zebra.dev.product.module.info.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @author runnable@sina.cn
 */
@TableName("product_info")
@Getter
@Setter
public class ProductInfoEntity {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(hidden = true)
    private Long id;

    @ApiModelProperty(value = "商品id", hidden = true)
    private Long productId;

    @ApiModelProperty(value = "商品信息名", hidden = true)
    private String infoKey;

    @ApiModelProperty(value = "商品信息值", hidden = true)
    private String infoValue;

    @ApiModelProperty(value = "排序显示(从低到高)", hidden = true)
    private Integer sort;
}
